Add dependecies.go to install packages #46
Merged
archandatta merged 31 commits intomainfrom Dec 10, 2025
Merged
Conversation
update syntax
update comment
rgarcia
approved these changes
Dec 9, 2025
| # Deploy your app: | ||
| brew install onkernel/tap/kernel | ||
| kernel login # or: export KERNEL_API_KEY=<YOUR_API_KEY> | ||
| kernel deploy index.py |
There was a problem hiding this comment.
Bug: Python deploy instruction references wrong entry file
The getNextStepsWithToolInstall function for Python tells users to run kernel deploy index.py, but Python templates use main.py as the entry point (as confirmed by both the test assertions and the actual template files in pkg/templates/python/). Users following these instructions will attempt to deploy a non-existent file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds methods to install dependencies after copying templates into a new directory.
Testing
make build && ./bin/kernel createnode_modulesor.venvexistNote
Adds language-specific dependency installation to the create flow with tool availability checks, fallback messaging, and comprehensive tests.
cmd/create.go):create.InstallDependenciesafter copying templates; minor output tweak withpterm.Printfln.pkg/create/dependencies.go):InstallCommandswith spinner.RequiredToolsand print installation/next steps.pkg/create/types.go):RequiredTools,InstallCommands, andTools.CheckToolAvailable.cmd/create_test.go):node_modules,.venv), and next-step output.Written by Cursor Bugbot for commit 66d4e7b. This will update automatically on new commits. Configure here.